package com.xxx.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xxx.server.entity.RespBean;
import com.xxx.server.entity.User;

import javax.servlet.http.HttpServletRequest;

/*
*   服务类
* */
public interface IUserService extends IService<User> {

    //登录方法
    RespBean login(String username, String password, String code, HttpServletRequest request);

    //根据用户名获取用户信息
    User getUserByUsername(String username);
}
